import request from '@/utils/request'
//保存生产检查
export function projectBaseSave(param) {
    return request({
        url: 'rest/projectBase/save',
        method: 'post',
        data: param
    })
}
//分页查询生产检查列表
export function projectBaseList(param) {
    return request({
        url: 'rest/projectBase/list',
        method: 'post',
        data: param
    })
}
//生产检查详情
export function projectBaseGet(param) {
    return request({
        url: 'rest/projectBase/get',
        method: 'post',
        data: param
    })
}

//保存消防安全
export function fireSafetySave(param) {
    return request({
        url: 'rest/fireSafety/save',
        method: 'post',
        data: param
    })
}
//分页查询消防列表
export function fireSafetyList(param) {
    return request({
        url: 'rest/fireSafety/list',
        method: 'post',
        data: param
    })
}
//消防详情
export function fireSafetyGet(param) {
    return request({
        url: 'rest/fireSafety/get',
        method: 'post',
        data: param
    })
}

//项目-综合整治大修
export function getPmListItemListByOrgIdsByUserId(param) {
    return request({
        url: 'rest/projectManagement/getPmListItemListByOrgIdsByUserId',
        method: 'post',
        data: param
    })
}

//项目-工程维保
export function projectManageProductionList(param) {
    return request({
        url: 'rest/projectManage/list',
        method: 'post',
        data: param
    })
}

//项目-基地
export function stationProductionList(param) {
    return request({
        url: 'rest/station/productionList',
        method: 'post',
        data: param
    })
}

//综合大修时  区间/站点
export function publicSecurityNodeTree(param) {
    return request({
        url: 'rest/lineSection/publicSecurityNodeTree',
        method: 'post',
        data: param
    })
}

//工程维保时 区间/站点
export function routeMaintenance(param) {
    return request({
        url: 'rest/projectManage/routeMaintenance',
        method: 'post',
        data: param
    })
}

//生产例会新增
export function yieldMeetingSave(param) {
    return request({
        url: 'rest/yieldMeeting/save',
        method: 'post',
        data: param
    })
}

//生产例会查询
export function yieldMeetingList(param) {
    return request({
        url: 'rest/yieldMeeting/list',
        method: 'post',
        data: param
    })
}

//生产例会查询详情
export function yieldMeetingGet(param) {
    return request({
        url: 'rest/yieldMeeting/get',
        method: 'post',
        data: param
    })
}